﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoolEngine.Gui;
using Microsoft.Xna.Framework;

namespace CoolEngine.Engine
{
    public class GameState:DrawableGameComponent
    {
        public Stack<GameScreen> Screens { get; private set; }
        public GameScreen CurrentScreen { get { return Screens.Peek(); } }
        public GameState(CoolGame game):base(game)
        {
            Screens = new Stack<GameScreen>();
            GameManager.GameState = this;
        }
    }
}
